<?php
require_once "C:\Users\gilles\Desktop\QuintEssence\php\lib/net/exprom/qe/core/meta/MetaModel.class.php";
class qem_example_TestModel extends net_exprom_qe_core_meta_MetaModel 
{
	public $champ1;
	public $champ2;
	public function __construct($name, $namespace)
	{
		parent::__construct($name,$namespace);
		$this->champ1 = 1;
		$this->champ2 = "hello";
	}
	public function getModelFields()
	{
		parent::getModelFields();
		$this->modelFields->set("type", array("required" => true, "inheritable" => false, "defaultValue" => 1));
		$this->modelFields->set("regionalised", array("defaultValue" => "hello"));
		return $this->modelFields;
	}
}
?>